﻿namespace Mes.Domain.BoundedContext.Entities.MasterData
{
    public class MaterialClassType : EntityBase, ISoftDelete
    {
        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; } = string.Empty;

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; } = string.Empty;

        /// <summary>
        /// 备注
        /// </summary>
        public string? Note { get; set; } = string.Empty;

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        //public MaterialClassType(string type, string description, string? note)
        //{
        //    Type = type;
        //    Description = description;
        //    Note = note;
        //}
    }
}
